package org.itstack.demo.design;

/**
 * @Author: fanYuLe
 * @CreateTime: 2023-12-15  15:17
 * @Description: 饿汉模式（线程安全）
 */
public class Singleton_03 {

    private static Singleton_03 instance = new Singleton_03();

    private Singleton_03(){}

    public static Singleton_03 getInstance(){
        return instance;
    }
}
